package com.yangkun.service.impl;

import com.yangkun.constant.BannerConstant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yangkun.mapper.BannerMapper;
import com.yangkun.domain.Banner;
import com.yangkun.service.BannerService;
@Service
@CacheConfig(cacheNames = "com.yangkun.service.impl.BannerServiceImpl")
public class BannerServiceImpl extends ServiceImpl<BannerMapper, Banner> implements BannerService{

    @Autowired
    public BannerMapper bannerMapper;
    @Override
    @Cacheable(key = BannerConstant.banner_cache_prefix)
    public List<String> getBanner() {
        return null;
    }
}
